class Candy {
  static {
    System.out.println("Loading Candy in static block.");
  }
  public static void main(String args[]){
    System.out.println("Loading Candy in main method.");
  }
  public void showMsg(){
    System.out.println("Candy's method.");
  }  
}